/*    */ package com.zimbra.cs.imap;
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ public class QResyncInfo
/*    */ {
/*    */   int uvv;
/*    */   
/*    */ 
/*    */ 
/*    */   int modseq;
/*    */   
/*    */ 
/*    */ 
/*    */   String knownUIDs;
/*    */   
/*    */ 
/*    */   String seqMilestones;
/*    */   
/*    */ 
/*    */   String uidMilestones;
/*    */   
/*    */ 
/*    */ 
/*    */   public void setUvv(int uvv)
/*    */   {
/* 28 */     this.uvv = uvv;
/*    */   }
/*    */   
/*    */   public void setModseq(int modseq) {
/* 32 */     this.modseq = modseq;
/*    */   }
/*    */   
/*    */   public void setKnownUIDs(String knownUIDs) {
/* 36 */     this.knownUIDs = knownUIDs;
/*    */   }
/*    */   
/*    */   public void setSeqMilestones(String seqMilestones) {
/* 40 */     this.seqMilestones = seqMilestones;
/*    */   }
/*    */   
/*    */   public void setUidMilestones(String uidMilestones) {
/* 44 */     this.uidMilestones = uidMilestones;
/*    */   }
/*    */   
/*    */   public int hashCode()
/*    */   {
/* 49 */     int prime = 31;
/* 50 */     int result = 1;
/* 51 */     result = 31 * result + (this.knownUIDs == null ? 0 : this.knownUIDs.hashCode());
/* 52 */     result = 31 * result + this.modseq;
/* 53 */     result = 31 * result + (this.seqMilestones == null ? 0 : this.seqMilestones.hashCode());
/* 54 */     result = 31 * result + (this.uidMilestones == null ? 0 : this.uidMilestones.hashCode());
/* 55 */     result = 31 * result + this.uvv;
/* 56 */     return result;
/*    */   }
/*    */   
/*    */   public boolean equals(Object obj)
/*    */   {
/* 61 */     if (this == obj) {
/* 62 */       return true;
/*    */     }
/* 64 */     if (obj == null) {
/* 65 */       return false;
/*    */     }
/* 67 */     if (getClass() != obj.getClass()) {
/* 68 */       return false;
/*    */     }
/* 70 */     QResyncInfo other = (QResyncInfo)obj;
/* 71 */     if (this.knownUIDs == null) {
/* 72 */       if (other.knownUIDs != null) {
/* 73 */         return false;
/*    */       }
/* 75 */     } else if (!this.knownUIDs.equals(other.knownUIDs)) {
/* 76 */       return false;
/*    */     }
/* 78 */     if (this.modseq != other.modseq) {
/* 79 */       return false;
/*    */     }
/* 81 */     if (this.seqMilestones == null) {
/* 82 */       if (other.seqMilestones != null) {
/* 83 */         return false;
/*    */       }
/* 85 */     } else if (!this.seqMilestones.equals(other.seqMilestones)) {
/* 86 */       return false;
/*    */     }
/* 88 */     if (this.uidMilestones == null) {
/* 89 */       if (other.uidMilestones != null) {
/* 90 */         return false;
/*    */       }
/* 92 */     } else if (!this.uidMilestones.equals(other.uidMilestones)) {
/* 93 */       return false;
/*    */     }
/* 95 */     if (this.uvv != other.uvv) {
/* 96 */       return false;
/*    */     }
/* 98 */     return true;
/*    */   }
/*    */ }


/* Location:              /home/mint/zimbrastore.jar!/com/zimbra/cs/imap/QResyncInfo.class
 * Java compiler version: 7 (51.0)
 * JD-Core Version:       0.7.1
 */